﻿package net.pezzato.graphics {
	import flash.display.MovieClip;
	import net.pezzato.graphics.Widget;
	import net.pezzato.graphics.Desktop;
	import net.pezzato.graphics.Alert;
	public class WindowManager extends MovieClip {
		private static var desktop_:Desktop = new Desktop();
		public function WindowManager() {
			addChild(desktop_);
		}
		public static function get desktop():Desktop {
			return desktop_;
		}
		public static function alert(text:String) {
			new Alert(desktop, text);
		}
	}
}